package com.codeyang.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 描述: TO-删除标志-DO
 * @author CodeYang_Site
 * @version 2021/5/26 13:53
 */
/**
    * 物流公司
    */
@ApiModel(value="com-codeyang-domain-Delivery")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "delivery")
public class Delivery implements Serializable {
    /**
     * ID
     */
    @TableId(value = "dvy_id", type = IdType.INPUT)
    @ApiModelProperty(value="ID")
    private Long dvyId;

    /**
     * 物流公司名称
     */
    @TableField(value = "dvy_name")
    @ApiModelProperty(value="物流公司名称")
    private String dvyName;

    /**
     * 公司主页
     */
    @TableField(value = "company_home_url")
    @ApiModelProperty(value="公司主页")
    private String companyHomeUrl;

    /**
     * 建立时间
     */
    @TableField(value = "rec_time")
    @ApiModelProperty(value="建立时间")
    private Date recTime;

    /**
     * 修改时间
     */
    @TableField(value = "modify_time")
    @ApiModelProperty(value="修改时间")
    private Date modifyTime;

    /**
     * 物流查询接口
     */
    @TableField(value = "query_url")
    @ApiModelProperty(value="物流查询接口")
    private String queryUrl;

    private static final long serialVersionUID = 1L;

    public static final String COL_DVY_ID = "dvy_id";

    public static final String COL_DVY_NAME = "dvy_name";

    public static final String COL_COMPANY_HOME_URL = "company_home_url";

    public static final String COL_REC_TIME = "rec_time";

    public static final String COL_MODIFY_TIME = "modify_time";

    public static final String COL_QUERY_URL = "query_url";
}